package ltd.newbee.mall.service.impl;

import ltd.newbee.mall.dao.HotKeywordMapper;
import ltd.newbee.mall.entity.HotKeyword;
import ltd.newbee.mall.service.HotKeywordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Classname HotKeywordServiceImpl
 * @Description TODO
 * @auth after
 * @since 2023/3/12 18:26
 */

@Service
public class HotKeywordServiceImpl implements HotKeywordService {

    @Autowired
    private HotKeywordMapper KeywordMapper;

    @Override
    public List<HotKeyword> getHotKeyList(String keyword) {

        return KeywordMapper.getHotKeyList(keyword);
    }
}
